package com.banzhi.shop.data;

import java.util.List;

/**
 * Created by Administrator on 2018/8/1.
 */

public class GroupingProfitData {


    /**
     * code : 0
     * msg : 操作成功
     * data : {"data":[{"type":2,"gid":41,"title":"20180730测试1","groupsprice":"10.00","price":"15.00","groupnum":3,"oid":469,"heads":1,"openid":"oRqoK01nX1ZI1eM1wRIMkNaKxjrA","goodid":41,"starttime":1532945124,"endtime":24,"createtime":"2018-07-31 10:24:46","success":1,"profit":"1.00","profitsend":0,"orderno":"PT20180731102446785152","status":2,"teamid":469,"thumb":"","optionId":4963,"status_value":"待收货","option":""}],"total":{"totalprice":10,"totalprofit":11,"total":21}}
     */

    private String code;
    private String msg;
    private GroupingProfitBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public GroupingProfitBean getData() {
        return data;
    }

    public void setData(GroupingProfitBean data) {
        this.data = data;
    }

    public static class GroupingProfitBean {
        /**
         * data : [{"type":2,"gid":41,"title":"20180730测试1","groupsprice":"10.00","price":"15.00","groupnum":3,"oid":469,"heads":1,"openid":"oRqoK01nX1ZI1eM1wRIMkNaKxjrA","goodid":41,"starttime":1532945124,"endtime":24,"createtime":"2018-07-31 10:24:46","success":1,"profit":"1.00","profitsend":0,"orderno":"PT20180731102446785152","status":2,"teamid":469,"thumb":"","optionId":4963,"status_value":"待收货","option":""}]
         * total : {"totalprice":10,"totalprofit":11,"total":21}
         */

        private TotalBean total;
        private List<DataBean> data;

        public TotalBean getTotal() {
            return total;
        }

        public void setTotal(TotalBean total) {
            this.total = total;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class TotalBean {
            /**
             * totalprice : 10
             * totalprofit : 11
             * total : 21
             */

            private String totalprice;
            private String totalprofit;
            private String total;

            public String getTotalprice() {
                return totalprice;
            }

            public void setTotalprice(String totalprice) {
                this.totalprice = totalprice;
            }

            public String getTotalprofit() {
                return totalprofit;
            }

            public void setTotalprofit(String totalprofit) {
                this.totalprofit = totalprofit;
            }

            public String getTotal() {
                return total;
            }

            public void setTotal(String total) {
                this.total = total;
            }
        }

        public static class DataBean {
            /**
             * type : 2
             * gid : 41
             * title : 20180730测试1
             * groupsprice : 10.00
             * price : 15.00
             * groupnum : 3
             * oid : 469
             * heads : 1
             * openid : oRqoK01nX1ZI1eM1wRIMkNaKxjrA
             * goodid : 41
             * starttime : 1532945124
             * endtime : 24
             * createtime : 2018-07-31 10:24:46
             * success : 1
             * profit : 1.00
             * profitsend : 0
             * orderno : PT20180731102446785152
             * status : 2
             * teamid : 469
             * thumb :
             * optionId : 4963
             * status_value : 待收货
             * option :
             * goodstatus
             */

            private String type;
            private String gid;
            private String title;
            private String groupsprice;
            private String price;
            private String groupnum;
            private String oid;
            private String heads;
            private String openid;
            private String goodid;
            private String starttime;
            private String endtime;
            private String createtime;
            private String success;
            private String profit;
            private String profitsend;
            private String orderno;
            private String status;
            private String teamid;
            private String thumb;
            private String optionId;
            private String status_value;
            private String option;
            private String goodstatus;

            public String getGoodstatus() {
                return goodstatus;
            }

            public void setGoodstatus(String goodstatus) {
                this.goodstatus = goodstatus;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getGid() {
                return gid;
            }

            public void setGid(String gid) {
                this.gid = gid;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getGroupsprice() {
                return groupsprice;
            }

            public void setGroupsprice(String groupsprice) {
                this.groupsprice = groupsprice;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getGroupnum() {
                return groupnum;
            }

            public void setGroupnum(String groupnum) {
                this.groupnum = groupnum;
            }

            public String getOid() {
                return oid;
            }

            public void setOid(String oid) {
                this.oid = oid;
            }

            public String getHeads() {
                return heads;
            }

            public void setHeads(String heads) {
                this.heads = heads;
            }

            public String getOpenid() {
                return openid;
            }

            public void setOpenid(String openid) {
                this.openid = openid;
            }

            public String getGoodid() {
                return goodid;
            }

            public void setGoodid(String goodid) {
                this.goodid = goodid;
            }

            public String getStarttime() {
                return starttime;
            }

            public void setStarttime(String starttime) {
                this.starttime = starttime;
            }

            public String getEndtime() {
                return endtime;
            }

            public void setEndtime(String endtime) {
                this.endtime = endtime;
            }

            public String getCreatetime() {
                return createtime;
            }

            public void setCreatetime(String createtime) {
                this.createtime = createtime;
            }

            public String getSuccess() {
                return success;
            }

            public void setSuccess(String success) {
                this.success = success;
            }

            public String getProfit() {
                return profit;
            }

            public void setProfit(String profit) {
                this.profit = profit;
            }

            public String getProfitsend() {
                return profitsend;
            }

            public void setProfitsend(String profitsend) {
                this.profitsend = profitsend;
            }

            public String getOrderno() {
                return orderno;
            }

            public void setOrderno(String orderno) {
                this.orderno = orderno;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getTeamid() {
                return teamid;
            }

            public void setTeamid(String teamid) {
                this.teamid = teamid;
            }

            public String getThumb() {
                return thumb;
            }

            public void setThumb(String thumb) {
                this.thumb = thumb;
            }

            public String getOptionId() {
                return optionId;
            }

            public void setOptionId(String optionId) {
                this.optionId = optionId;
            }

            public String getStatus_value() {
                return status_value;
            }

            public void setStatus_value(String status_value) {
                this.status_value = status_value;
            }

            public String getOption() {
                return option;
            }

            public void setOption(String option) {
                this.option = option;
            }
        }
    }
}
